Alma\Woocommerce\Helpers\Alma_Tools_Helper S

Total Complexity 30
Dependencies 2
Dependents 21
Total lines 222
Lines of code 99
Logical lines of code 44
Comment lines 95
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
alma_usort_plans_keys()
A
48 12 36
alma_string_to_bool()
S
76 5 3
alma_match_plan_key_pattern()
S
59 2 16
check_currency()
S
62 2 13
alma_format_percent_from_bps()
S
62 2 10
__construct()
S
80 1 3
is_amount_plan_key()
S
78 1 3
alma_price_to_cents()
S
78 1 3
alma_price_from_cents()
S
79 1 3
alma_format_price_from_cents()
S
77 1 3
url_for_webhook()
S
80 1 3
action_for_webhook()
S
80 1 3